Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

status-code-0-onError-64 #66

Merged
merged 1 commit into from
Feb 6, 2012
Merged

status-code-0-onError-64 #66

merged 1 commit into from
Feb 6, 2012

Conversation

ntoll
Copy link
Member

@ntoll ntoll commented Feb 6, 2012

terrycojones:approve

This branch introduces the following changes:

  • An onerror event handler has been added to the XHR object
  • Removal of the (incorrect) assumption that status code 0 = fail
  • Updated (removed) the affected test.

Writing a test to exercise this change has proven to be a bit of a time sink but as far as I can tell, we're now doing the 'right thing' (tm) despite no obvious way to test it. :-/

Fixes #64

…n that status code 0 = fail and updated the affected test. Writing a test to exercise this change has proven to be a bit of a time sink but as far as I can tell, we're now doing the 'right thing' (tm)
ntoll added a commit that referenced this pull request Feb 6, 2012
branch status-code-0-onError-64: Adds onerror handler to xhr
author: ntoll
reviewer: terrycojones
fixes: #64
@ntoll ntoll merged commit a303d0c into master Feb 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Status code 0 is a success code. Use onError.
1 participant